# 列表的复制
#真正意义的复制
#1.假复制   用 = 进行赋值  不要用等号复制列表
# names = ["mike","marry","jack","joe","jiaxin"]
# names_源文件 = names
# names.append("ethel")
#
# print(names_源文件)


# 2.正确的复制
names = ["mike","marry","jack","joe","jiaxin"]
names_源文件 = names.copy()
names.append("ethel")
print("names =",names)
print("names_源文件 =",names_源文件)